package com.vhall.component.entity.room.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 房间-转发量
 *
 * @TableName room_forward
 */
@TableName(value = "room_forward")
@Data
public class RoomForwardEntity implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "account_id")
    private Integer accountId;

    /**
     *
     */
    @TableField(value = "created_at")
    private LocalDateTime createdAt;

    /**
     *
     */
    @TableField(value = "updated_at")
    private LocalDateTime updatedAt;

    /**
     * 房间id
     */
    @TableField(value = "room_id")
    private String roomId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}